const AssignRules = {
  repairAssignValue: [
    {
      required: true,
      message: "信息不能为空",
      trigger: "blur"
    }
  ]
};
const FixDoneRules = {
  assign: [
    {
      required: true,
      message: "信息不能为空",
      trigger: "blur"
    }
  ],
  reason: [
    {
      required: true,
      message: "信息不能为空",
      trigger: "blur"
    }
  ],
  faultSubdivision: [
    {
      required: true,
      message: "信息不能为空",
      trigger: "blur"
    }
  ]
};
const FinishRules = {
  returnExpressCompany: [
    {
      required: false,
      message: "信息不能为空",
      trigger: "blur"
    }
  ],
  returnExpressNumber: [
    {
      required: false,
      message: "信息不能为空",
      trigger: "blur"
    }
  ],
  actualReturnAddress: [
    {
      required: false,
      message: "信息不能为空",
      trigger: "blur"
    }
  ]
};

const EditInfoFormRules = {
  customerName: [
    {
      required: true,
      message: "信息不能为空",
      trigger: "blur"
    }
  ],
  companyName: [
    {
      required: true,
      message: "信息不能为空",
      trigger: "blur"
    }
  ],
  productType: [
    {
      required: true,
      message: "信息不能为空",
      trigger: "blur"
    }
  ],
  productModel: [
    {
      required: true,
      message: "信息不能为空",
      trigger: "blur"
    }
  ],
  productNumber: [
    {
      required: true,
      message: "信息不能为空",
      trigger: "blur"
    }
  ],
  warrantyStatus: [
    {
      required: true,
      message: "信息不能为空",
      trigger: "blur"
    }
  ],
  faultInformation: [
    {
      required: true,
      message: "信息不能为空",
      trigger: "blur"
    }
  ],
  returnAddress: [
    {
      required: true,
      message: "信息不能为空",
      trigger: "blur"
    }
  ],
  returnContactName: [
    {
      required: true,
      message: "信息不能为空",
      trigger: "blur"
    }
  ],
  returnContactPhone: [
    {
      required: true,
      message: "信息不能为空",
      trigger: "blur"
    }
  ],
  expressCompany: [
    {
      required: true,
      message: "信息不能为空",
      trigger: "blur"
    }
  ],
  expressNumber: [
    {
      required: true,
      message: "信息不能为空",
      trigger: "blur"
    }
  ]
};

const AddRepairInfoRules = {
  repairContent: [
    {
      required: true,
      message: "信息不能为空",
      trigger: "blur"
    }
  ]
};

export {
  AssignRules,
  FixDoneRules,
  FinishRules,
  EditInfoFormRules,
  AddRepairInfoRules
};
